package com.itheima.dao;

import com.itheima.pojo.OrderSetting;
import com.itheima.pojo.Time;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {

    //根据日期查询预约设置对象
    OrderSetting findByDate(Date orderDate);

    //添加预约设置对象
    void add(OrderSetting orderSetting);

    //已经有预约对象，修改可预约数
    void edit(OrderSetting orderSetting);

    //日历展示预约设置信息
    List<OrderSetting> findByBetweenDate(Map<String, String> map);
    //定时删除数据
    void JobDelete(String str);
    //将定时数据添加到数据库
    void DeleteTime(Time time);
    //查询定时数据
    Time findMonth();

}
